﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace YHWE.Web.Controllers
{
    using JULONG.WEB.Library;
    using YHWE.Web.Models;
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            
            return View();
        }

        public ActionResult menu()
        {
            DataSession<entityDB2Container, channel> db = new DataSession<entityDB2Container, channel>();
            var ss = db.query(d => d.parentID == null);
            return View("../Shared/menu", ss);
        }

    }
}
